package com.whfc.fse.service;

import com.whfc.common.exception.BizException;
import com.whfc.common.result.PageData;
import com.whfc.fse.param.FseResumeParam;

/**
 * @DESCRIPTION 特种设备履历
 * @AUTHOR hw
 * @DATE 2020/8/10
 */
public interface FseResumeService {

    /**
     * 添加特种设备履历
     *
     * @param param
     * @throws BizException
     */
    void add(FseResumeParam param) throws BizException;

    /**
     * 修改特种设备履历
     *
     * @param param
     * @throws BizException
     */
    void edit(FseResumeParam param) throws BizException;

    /**
     * 删除特种设备履历
     *
     * @param resumeId
     * @throws BizException
     */
    void del(Integer resumeId) throws BizException;

    /**
     * 特种设备履历列表
     *
     * @param fseId
     * @param resumeType
     * @return
     * @throws BizException
     */
    PageData<FseResumeParam> list(Integer fseId, Integer resumeType, Integer pageNum, Integer pageSize) throws BizException;
}
